//
//  SearchViewController.m
//  SelectionForYou
//
//  Created by qianfeng on 15-6-11.
//  Copyright (c) 2015年 朱共营. All rights reserved.
//

#import "SearchViewController.h"
#import "MyModel.h"
#import "JHRefresh.h"
#import "MyControl.h"
@interface SearchViewController ()

@end

@implementation SearchViewController

- (void)viewDidLoad {
    [super viewDidLoad];
  //  NSLog(@"%@",_source_name);
   [self addTitleViewWithTitle:@"搜索结果"];
    
}
- (void)addTitleViewWithTitle:(NSString *)title{
    UILabel *titleLable=[MyControl creatLabelWithFrame:CGRectMake(0, 0, 200, 30) text:title];
    titleLable.font=[UIFont fontWithName: @"Arial Rounded MT Bold" size:22];
    titleLable.textAlignment=NSTextAlignmentCenter;
    titleLable.textColor=[UIColor colorWithRed:30/255.0f green:160/255.0f blue:230/255.0f alpha:1];
    self.navigationItem.titleView=titleLable;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
